package com.hh.releasenode.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName SysRoleForm
 * @Description 添加角色
 * @Author KunxianLi
 * Date 2020/6/15 15:52
 * Version 1.0
 **/
@Data
@ApiModel("添加角色")
public class SysRoleForm {

    @ApiModelProperty(name = "角色名称",required = true,example = "测试")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty(name = "备注",example = "this is a test role")
    private String remark;

}
